package fristphase.day03;

import java.util.Arrays;

public class ArrayCopyOf {
    public static void main(String[] args) {
        int[] a = {1,2,3,4,5,6};
        int[] b = Arrays.copyOf(a,8);
        for (int i=0;i<b.length;i++){
            System.out.println(b[i]);
        }
    }
}
